package com.example.admin_test.emp.mapper;

import com.example.admin_test.emp.pojo.Emp;
import com.example.admin_test.emp.vo.EmpQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmpMapper {
    List<Emp> getEmpList(EmpQuery param);

    Long countEmpList(EmpQuery param);

    void addEmp(Emp emp);

    void deleteEmpByIds(String ids);

    Emp empById(Integer id);

    void updateEmp(Emp emp);
}
